import request from '@/utils/request'

export function getArticleTypeList(data) {
  return request({
    url: '/Admin/ArticleType/GetArticleTypeList',
    method: 'post',
    data
  })
}

export function addArticleType(data) {
  return request({
    url: '/Admin/ArticleType/AddArticleType',
    method: 'post',
    data
  })
}

export function deleteArticleType(data) {
  return request({
    url: '/Admin/ArticleType/DeleteArticleType',
    method: 'post',
    data
  })
}

export function updateArticleType(data) {
  return request({
    url: '/Admin/ArticleType/UpdateArticleType',
    method: 'post',
    data
  })
}